var fileProcess = require('../fileProcess');

module.exports = {
        'GET /index': async (ctx, next) => {
            //执行生成
            var files = fileProcess.getAllFiles("./static/markdowns/");
            for(var i=0;i<files.length;i++){
                console.log(files[i])
            }
            ctx.render('index.html', {
                title:"测试"
            });
    }
};